package cn.edu.zut.cs.pojo;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 设备管理
 * </p>
 *
 * @author equipment
 * @since 2021-06-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Equipment implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 设备编号 从200001开始编号
     */
    @TableId(value = "equid")
    private String equid;

    /**
     * 设备状态  0未使用 1使用中
     */
    private Integer equstatus;

    /**
     * 设备开始时间
     */
    private LocalDateTime equstartime;

    /**
     * 设备终止时间
     */
    private LocalDateTime equendtime;

    /**
     * 设备所在地
     */
    private String equlocation;

    private Double weightratio;;

    private Double totalweight;
    private String equunit;
    private String equcompany;
    private String equadmin;

    public String getEquid() {
        return equid;
    }

    public void setEquid(String equid) {
        this.equid = equid;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getEqustatus() {
        return equstatus;
    }

    public void setEqustatus(Integer equstatus) {
        this.equstatus = equstatus;
    }

    public LocalDateTime getEqustartime() {
        return equstartime;
    }

    public void setEqustartime(LocalDateTime equstartime) {
        this.equstartime = equstartime;
    }

    public LocalDateTime getEquendtime() {
        return equendtime;
    }

    public void setEquendtime(LocalDateTime equendtime) {
        this.equendtime = equendtime;
    }

    public String getEqulocation() {
        return equlocation;
    }

    public void setEqulocation(String equlocation) {
        this.equlocation = equlocation;
    }

    public Double getWeightratio() {
        return weightratio;
    }

    public void setWeightratio(Double weightratio) {
        this.weightratio = weightratio;
    }

    public Double getTotalweight() {
        return totalweight;
    }

    public void setTotalweight(Double totalweight) {
        this.totalweight = totalweight;
    }

    public String getEquunit() {
        return equunit;
    }

    public void setEquunit(String equunit) {
        this.equunit = equunit;
    }

    public String getEqucompany() {
        return equcompany;
    }

    public void setEqucompany(String equcompany) {
        this.equcompany = equcompany;
    }

    public String getEquadmin() {
        return equadmin;
    }

    public void setEquadmin(String equadmin) {
        this.equadmin = equadmin;
    }
}
